$bg:#2d3a4b;
$dark_gray:#aaa;
$light_gray:#eee;

.login-container {
  background: url(../../assets/login-background2.jpg) 50% no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  .title {
    text-align: center;
    font-weight: 400;
    font-size: 48px;
    color: #fff;
    margin: 0;
    padding: 0px 0px 60px;
    position: absolute;
    right: 12%;
    top: 20%;
  }
  .login-info {
    position: absolute;
    left: 15%;
    top: 44%;
    margin-top: -100px;
    color: #fff;
    font-weight: 600;
    
    .sub-title {
      font-size: 24px;
      margin: 5px 0 10px 16px;
    }
    .desc {
      font-size: 16px;
      line-height: 32px;
    }
  }
  .login-form {
    // width: 1045px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 20px 0px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    right: 8%;
    top: 32%;
    .left-img{
      display: block;
      width: 545px;
      height: 530px;
    }
    .right{
      width: 500px;
      // height: 530px;
      overflow: auto;
      // background-color: #FFFFFF;
      background: rgba(0, 0, 0, 0.3);
      padding: 60px 80px 60px 80px;
      box-sizing: border-box;
      // display: flex;
      // flex-flow: column;
      overflow: hidden;
      .form-title {
        font-family: PingFangSC-Semibold;
        font-size: 28px;
        // color: rgba(0, 0, 0, 0.85);
        color: #fff;
        letter-spacing: 0;
        line-height: 30px;
        font-weight: 600;
        height: 60px;
        margin: 0;
      }
    }
    .code-input {
      width: 50%;
      display: inline-block;
      vertical-align: middle;
      background-color: rgba(0, 0, 0, 0.02);
    }
    .code-image {
      display: inline-block;
      vertical-align: top;
      cursor: pointer;
      width: 50%;
      height: 43px;
    }
    .login-type {
      text-align: right;
      display: inline-block;
      width: 100%;
    }
    .logo-wrapper {
      display: inline-block;
      margin: 10px 0;
      img {
        width: 30px;
        display: inline-block;
        margin: 12px 12px -12px 12px;
        cursor: pointer;
        &.radius {
          border-radius: 50%;
        }
      }
    }
    .login-btn{
      width: 100%;
      height: 50px;
      background-color: rgb(49, 119, 236);
      border-radius: 4px;
      font-family: PingFangSC-Medium;
      font-size: 22px;
      color: rgba(255, 255, 255, 0.99);
      font-weight: 500;
      text-align: center;
      line-height: 50px;
      padding: 0;
    }
  }
  .login-footer {
    position: fixed;
    bottom: 16px;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 14px;
    line-height: 16px;
    height: 16px;
    font-weight: 600;
  }
  .tips {
    font-size: 14px;
    color: #fff;
    margin-bottom: 10px;

    span {
      &:first-of-type {
        margin-right: 16px;
      }
    }
  }

  .title-container {
    position: relative;

    .title {
      font-size: 20px;
      color: rgba(0,0,0,.85);
      margin: 0 auto 40px auto;
      text-align: center;
      font-weight: bold;
    }

    .set-language {
      color: #aaa;
      position: absolute;
      top: 3px;
      font-size: 18px;
      right: 0;
      cursor: pointer;
    }
  }

  .thirdparty-button {
    position: absolute;
    right: 0;
    bottom: 6px;
  }

  @media only screen and (max-width: 470px) {
    .thirdparty-button {
      display: none;
    }
  }

  @media screen and (max-width: 1100px)
  {
    .login-info {
      left: 8%;
    }
  }

  @media screen and (max-width: 970px)
  {
    .login-form {
      left: 50%;
    }
    .login-info {
      display: none;
    }
  }
}
